package com.zp.self.module.level_1_问道.XI_多线程.syncronized;

public class SynchronizedTest {
    public synchronized void test1(){

    }

    public void test2() throws InterruptedException {
        synchronized (this){
            this.wait();
        }
    }
}